package com.vcourse.service.edu;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author Zengsh123
 * @date 2020-05-25 22:19
 */
@EnableDiscoveryClient
@EnableCaching
@EnableFeignClients(basePackages = {"com.vcourse.cloud.oss.api.feign", "com.vcourse.cloud.vod.api.feign"})
@SpringBootApplication
@ComponentScan("com.vcourse.*")
public class EduServiceApplication {
    public static void main(String[] args) {
        SpringApplication.run(EduServiceApplication.class, args);
    }
}
